package org.nmgyjt.springboot.entity.admin;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * idaas 行政区划创建对象的值对象
 *
 * @author taohui
 * @date 2020/03/11 16:48
 */
@Data
public class IDAASAreaValuesEntity {

    @ApiModelProperty(value = "行政区划名称", dataType = "string")
    String name;

    @ApiModelProperty(value = "行政区划编码", dataType = "string")
    String code;

    @ApiModelProperty(value = "父级 ID", dataType = "string")
    String parentId;

    @ApiModelProperty(value = "前一个行政区划的 ID", dataType = "string")
    String _preId;

    @ApiModelProperty(value = "下一个行政区划的", dataType = "string")
    String nextId;

    @ApiModelProperty(value = "行政区划的状态", dataType = "string")
    String status = "PENDING_ACTIVE";

    @ApiModelProperty(value = "是否有子级", dataType = "string")
    Boolean hasChild;
}